package com.rongc.client.freight.business.waybill.view.mvp;

import com.rongc.client.freight.business.waybill.model.WayBillDetailBean;

/**
 * Created by Bruce on 2016/11/29.
 */
public interface QuestionContract<T> {

    interface View<T> extends BaseView<Presenter> {
        void doShow(WayBillDetailBean bean);

        void beginDialog();

        void hideDialog(String type);
        void showDialog(String type);

        void complateLoaded();

        String getStatus();
        void setStatus(String status);
        String getPayType();
        void setPayType(String payType);
        String getWayBillid();
        void refreshView(); // 用于支付成功后界面状态的修改。

        void jumpMap();
        void jumpTel();
        void jumpHuidan();
        void jumpReply();
        void jumpForgot();
    }

    interface Presenter<T> extends BasePresenter {
        void QianbaoPay(String type,String wid,String zhifu_pwd);
        void Alipay(String type,String wid);
        void WxPay(String type,String wid);
        void changeStatus(String status,String wid);
        void refreshWaybill(String wid);

        void jiajia(String price,String wid);
        void cancel(String wid);
    }
}
